home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 146
/
(Vol 146) Jan 07 2012.iso
/
Games
/
scuba.swf
/
scripts
/
DefineSprite_303
/
frame_5
/
DoAction.as
Wrap
Text File
|
2012-01-07
|
562b
|
30 lines
vCounter = Number(vCounter + Number(_root.gDifficultyFactorFish));
if(_root.gDifficultyFactorFish < 0.4)
{
_root.gDifficultyFactorFish = Number(_root.gDifficultyFactorFish + Number(_root.gDifficultyIncr));
}
if(_root.gSkillLevel == "cadet")
{
if(vCounter < 5)
{
gotoAndPlay(3);
}
else
{
vCounter = Number(0);
gotoAndPlay(6);
}
}
else if(_root.gSkillLevel == "commando")
{
if(vCounter < 2)
{
gotoAndPlay(3);
}
else
{
vCounter = Number(0);
gotoAndPlay(6);
}
}